<% content_for :action_nav do %>
  <div id="page-nav">
    <ul id="act-nav" class="clear">
      <li><%= link_to _("New template"), url_for_theme(:controller => 'design') %></li>
      <li><%= link_to _("Manage themes"), :controller => 'themes' %></li>
    </ul>
  </div>
<% end %>

<% form_tag url_for_theme(:action => 'create') do -%>
<%= render :partial => 'form', :locals => { 
  :attachment => nil, 
  :title      => _('Create a new template'),
  :hint       => _('You can use HTML and Liquid in your template.'),
  :labels     => { :data     => _('Template source code'),
                   :filename => _('Name of your template') }
 } %>
<p class="btns"><%= submit_tag _('Create template') %></p>
<% end -%>

<%= render :partial => 'sidebar' %>